var i = 0,
    x = 0,
    y = 0;